package com.skyolder.crutch.word.token;

import com.skyolder.crutch.word.types.SymbolType;

public class SymbolToken implements Token {
	private SymbolType symbolType;
	public SymbolToken( SymbolType symbolType){
		this.setSymbolType(symbolType);
	}
	public SymbolType getSymbolType() {
		return symbolType;
	}
	public void setSymbolType(SymbolType symbolType) {
		this.symbolType = symbolType;
	}
	public String toString(){
		if(symbolType!=null){
			return symbolType.toString();
		}
		return "null";
	}
}
